<template>
  <view>
		<view>ver: 1</view>
    <button @click="goto(1)">
      1
    </button>
    <button @click="goto(2)">
      2
    </button>
  </view>
</template>
<script>
  export default {
    data() {
      return {
      }
    },
    methods: {
      goto(index) {
        if(index===1) {
          uni.navigateTo({url:'./components?type=1'})
        }else if(index===2) {
          console.log(JSON.stringify(this.$x.config.theme))
        }
      }
    }
  }
</script>

<style lang="scss" scoped>

</style>
